package com.foreveross.bsl.auth.integration;

import java.util.Date;

/**
 * @description
 *
 * @author rening
 * @version v1.0
 *
 * @2013-7-22
 *
 */
public class ResourceUsage implements java.io.Serializable {
	
	private static final long serialVersionUID = -7313165815810922002L;

	private Long id;

	private String resourceURL;

	private String servierURL;

	private String clientIP;

	private int method;

	private String userName;

	private int state;// 资源访问状态 0 为成功 1为失败

	private String failCause;

	private String remark;

	private Date createDate;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getResourceURL() {
		return resourceURL;
	}

	public void setResourceURL(String resourceURL) {
		this.resourceURL = resourceURL;
	}

	public String getClientIP() {
		return clientIP;
	}

	public void setClientIP(String clientIP) {
		this.clientIP = clientIP;
	}

	public int getMethod() {
		return method;
	}

	public void setMethod(int method) {
		this.method = method;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public String getFailCause() {
		return failCause;
	}

	public void setFailCause(String failCause) {
		this.failCause = failCause;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getServierURL() {
		return servierURL;
	}

	public void setServierURL(String servierURL) {
		this.servierURL = servierURL;
	}
}
